package org.zfes.snowier.cloud.zbss.metting.biz.dto;

import java.io.Serializable;
import java.util.Map;
/*[
 {
   "type": "text",
   "label": "单行文本",
   "className": "form-control",
   "name": "text-1543333147906",
   "subtype": "text"
 },
 {
   "type": "textarea",
   "label": "多行文本",
   "className": "form-control",
   "name": "textarea-1543400769419",
   "subtype": "textarea"
 },
 {
   "type": "number",
   "label": "数字",
   "className": "form-control",
   "name": "number-1543400777425"
 },
 {
   "type": "date",
   "label": "日期字段",
   "className": "form-control",
   "name": "date-1543371023706"
 },
 {
   "type": "select",
   "label": "选择",
   "className": "form-control",
   "name": "select-1543401158200",
   "values": [
     {
       "label": "Option 1",
       "value": "option-1"
     },
     {
       "label": "Option 2",
       "value": "option-2"
     },
     {
       "label": "Option 3",
       "value": "option-3"
     }
   ]
 },
 {
   "type": "checkbox-group",
   "label": "复选框组",
   "inline": true,
   "name": "checkbox-group-1543333703077",
   "values": [
     {
       "label": "Option 1",
       "value": "option-1",
       "selected": true
     },
     {
       "label": "fghc",
       "value": "ghbgf"
     },
     {
       "label": "45",
       "value": "45"
     }
   ]
 },
 {
   "type": "radio-group",
   "label": "单选组",
   "inline": true,
   "name": "radio-group-1543395748461",
   "values": [
     {
       "label": "Option 1",
       "value": "option-1"
     },
     {
       "label": "Option 2",
       "value": "option-2"
     },
     {
       "label": "Option 3",
       "value": "option-3"
     }
   ]
 },
 {
   "type": "file",
   "subtype": "fineuploader",
   "label": "头像",
   "className": "form-control",
   "name": "file-1543370850213"
 }
]*/
public class SignupModelJsonDto implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String type;
	private String subtype;
	private String name;
	private String label;
	private Map<String,String> values;//"label": "Option 2","value": "option-2"
	
	public SignupModelJsonDto() {
		super();
	}
	
	public SignupModelJsonDto(String type, String name) {
		super();
		this.type = type;
		this.name = name;
	}
	public SignupModelJsonDto(String type, String name, String label) {
		super();
		this.type = type;
		this.name = name;
		this.label = label;
	}

	public String getType() {
		return type;
	}
	public SignupModelJsonDto setType(String type) {
		this.type = type;
		return this;
	}
	public String getName() {
		return name;
	}
	public SignupModelJsonDto setName(String name) {
		this.name = name;
		return this;
	}

	public String getLabel() {
		return label;
	}

	public SignupModelJsonDto setLabel(String label) {
		this.label = label;
		return this;
	}

	public String getSubtype() {
		return subtype;
	}

	public SignupModelJsonDto setSubtype(String subtype) {
		this.subtype = subtype;
		return this;
	}

	public Map<String, String> getValues() {
		return values;
	}

	public SignupModelJsonDto setValues(Map<String, String> values) {
		this.values = values;
		return this;
	}


	

}
